import { instance as request } from '../request'

export const userDeleteApi = (): PromiseRes =>
  request.post('/permissions/userDelete')

export const userAddApi = (): PromiseRes => request.post('/permissions/userAdd')

export const userEditApi = (): PromiseRes =>
  request.post('/permissions/userEdit')

export const userCheckApi = (): PromiseRes =>
  request.post('/permissions/userCheck')
